<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>    
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>claxx/edit.jsp</title>
</head>
<body>
<form action="save" method="post">
	<input name="id" type="hidden" value="${model.id }">
	名称<input name="name" type="text" value="${model.name }"><br>
	班主任<select name="manager.id">
			<option value="" style="display: none;"></option>
			<c:forEach items="${models }" var="mo">
				<option value="${mo.id }" ${mo.id==model.manager.id?'selected':'' }>${mo.name }</option>
			</c:forEach>
		</select><br>
	<button type="submit">确定</button>
</form>
</body>
</html>